import {
    ajaxSet
} from "@/utils/ajax";
import prefixAPI from "@/api/prefixAPI"; // prefixAPI 前缀
const url = prefixAPI.pack;
const api = {
    // 登录
    signIn: {
        type: "post",
        url: url + "/signIn"
    },
    sysLogin: {
        type: "post",
        url: url + "/4a/sysLogin"
    },
    getShortMessage: {
        type: "post",
        url: url + "/4a/getShortMessage"
    },
    updatePassword: {
        type: "post",
        url: url + "/4a/updatePassword"
    },
    getImageCode: {
        type: "get",
        url: url + "/4a/createCodeImage"
    },
    getJXlogin: {
        type: 'get',
        url: url + '/sysLogin'
    }
};
const $ajax = ajaxSet(api);
export default $ajax;